package org.viva.entity.spider;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

//@Entity
//@Table(name = "SPIDER_MOVIE")
//@Cache(usage = CacheConcurrencyStrategy.NONSTRICT_READ_WRITE)
public class Movie implements Serializable {
    private static final long serialVersionUID = 1L;

    private String cnName;
    private String EnName;
    private String name;
    private String otherName;
    private String storyPlace;
    private Date   releaseTimeInChina;
    private String actors;

    private String bttiantangUrl;
    private String doubanUrl;
    private double doubanScore;

    public String getCnName() {
        return cnName;
    }

    public void setCnName(String cnName) {
        this.cnName = cnName;
    }

    public String getEnName() {
        return EnName;
    }

    public void setEnName(String enName) {
        EnName = enName;
    }

    public String getOtherName() {
        return otherName;
    }

    public void setOtherName(String otherName) {
        this.otherName = otherName;
    }

    public String getStoryPlace() {
        return storyPlace;
    }

    public void setStoryPlace(String storyPlace) {
        this.storyPlace = storyPlace;
    }

    public Date getReleaseTimeInChina() {
        return releaseTimeInChina;
    }

    public void setReleaseTimeInChina(Date releaseTimeInChina) {
        this.releaseTimeInChina = releaseTimeInChina;
    }

    public String getBttiantangUrl() {
        return bttiantangUrl;
    }

    public void setBttiantangUrl(String bttiantangUrl) {
        this.bttiantangUrl = bttiantangUrl;
    }

    public String getDoubanUrl() {
        return doubanUrl;
    }

    public void setDoubanUrl(String doubanUrl) {
        this.doubanUrl = doubanUrl;
    }

    public double getDoubanScore() {
        return doubanScore;
    }

    public void setDoubanScore(double doubanScore) {
        this.doubanScore = doubanScore;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getActors() {
        return actors;
    }

    public void setActors(String actors) {
        this.actors = actors;
    }

    @Override
    public String toString() {
        return "Movie [cnName=" + cnName + ", EnName=" + EnName + ", name=" + name + ", otherName=" + otherName + ", storyPlace=" + storyPlace
                + ", releaseTimeInChina=" + releaseTimeInChina + ", actors=" + actors + ", bttiantangUrl=" + bttiantangUrl + ", doubanUrl="
                + doubanUrl + ", doubanScore=" + doubanScore + "]";
    }

}
